package com.industrial.premu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 评级管理对象 pre_mu_rate
 * 
 * @author Zhou_S
 * @date 2024-01-22
 */
public class PreMuRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String baseId;

    /** 年度 */
    @Excel(name = "年度")
    private String years;

    /** A类比例 */
    @Excel(name = "A类比例")
    private Integer rateA;

    /** B类比例 */
    @Excel(name = "B类比例")
    private Integer rateB;

    /** C类比例 */
    @Excel(name = "C类比例")
    private Integer rateC;

    /** D类比例 */
    @Excel(name = "D类比例")
    private Integer rateD;

    /** 区县 */
    @Excel(name = "区县")
    private String districtCode;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseCreateTime;

    public void setBaseId(String baseId) 
    {
        this.baseId = baseId;
    }

    public String getBaseId() 
    {
        return baseId;
    }
    public void setYears(String years) 
    {
        this.years = years;
    }

    public String getYears() 
    {
        return years;
    }
    public void setRateA(Integer rateA) 
    {
        this.rateA = rateA;
    }

    public Integer getRateA() 
    {
        return rateA;
    }
    public void setRateB(Integer rateB) 
    {
        this.rateB = rateB;
    }

    public Integer getRateB() 
    {
        return rateB;
    }
    public void setRateC(Integer rateC) 
    {
        this.rateC = rateC;
    }

    public Integer getRateC() 
    {
        return rateC;
    }
    public void setRateD(Integer rateD) 
    {
        this.rateD = rateD;
    }

    public Integer getRateD() 
    {
        return rateD;
    }
    public void setDistrictCode(String districtCode) 
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode() 
    {
        return districtCode;
    }
    public void setBaseCreateTime(Date baseCreateTime) 
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime() 
    {
        return baseCreateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("baseId", getBaseId())
            .append("years", getYears())
            .append("rateA", getRateA())
            .append("rateB", getRateB())
            .append("rateC", getRateC())
            .append("rateD", getRateD())
            .append("districtCode", getDistrictCode())
            .append("baseCreateTime", getBaseCreateTime())
            .toString();
    }
}
